home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 287_01 / global.c < prev    next >
Text File  |  1989-05-23  |  896b  |  31 lines

  1. #include <stdio.h>
  2. #include <gds.h>
  3. #include <prtfont.h>
  4.  
  5. unsigned int DOTVALUE[] =
  6.     0x0080, 0x0040, 0x0020, 0x0010, 0x0008, 0x0004, 0x0002, 0x0001,
  7.     0x8000, 0x4000, 0x2000, 0x1000, 0x0800, 0x0400, 0x0200, 0x0100 };
  8.  
  9. unsigned int LEFTWORD[] =
  10.     0xffff, 0xff7f, 0xff3f, 0xff1f, 0xff0f, 0xff07, 0xff03, 0xff01,
  11.     0xff00, 0x7f00, 0x3f00, 0x1f00, 0x0f00, 0x0700, 0x0300, 0x0100,
  12.     0x0000 };
  13.  
  14. unsigned int RIGHTWORD[] =
  15.     0x0000, 0x0080, 0x00c0, 0x00e0, 0x00f0, 0x00f8, 0x00fc, 0x00fe,
  16.     0x00ff, 0x80ff, 0xc0ff, 0xe0ff, 0xf0ff, 0xf8ff, 0xfcff, 0xfeff,
  17.     0xffff };
  18.  
  19. int CUR_FRAME = 0, CUR_PLOT = 0;
  20. unsigned int STYLE = ~0;
  21. int LASTX, LASTY, LASTX2, LASTY2, ARCSPEC;
  22. int TEN_MS=333;
  23. int ARCSTTX, ARCSTTY, ARCENDX, ARCENDY, ARCSTTR, ARCENDR;
  24.  
  25. void (*PRE_ERROR_FUNC)(), (*POST_ERROR_FUNC)();
  26. int PRE_ERROR_LEVEL=1000, POST_ERROR_LEVEL=1000;
  27.  
  28.